package com.risen.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.risen.bean.AdminLogininfo;
import com.risen.dao.AdminLogininfoMapper;

@Service
public class AdminLogininfoService {
	@Autowired
	private AdminLogininfoMapper adminLogininfoMapper;
	
	public List<AdminLogininfo> findAll(String loginname) {
		return adminLogininfoMapper.findAll(loginname); 
	}
	
	public void insert(AdminLogininfo adminLogininfo) {
		adminLogininfoMapper.insert(adminLogininfo);
	}
	
}
